<html>
<head>
  <meta charset="UTF-8">
  <title>list</title>
  <link rel="stylesheet" href="./assets/css/bootstrap.min.css">
</head>
<body>

<div class="row">
<div class="col-md-12">

    <div class="row">
      <div class="col-md-10">
      <h6><a href="index.php?c=index&m=index">返回主页 </a><h6>
      <h2>电影专栏</h2>
          <?php 
                $row=$data['video'];
                foreach ($data['video'] as $row) {
                  if ($row['typename']==1) {
           ?>
            <ul class="list-inline row text-center">
                <li class="col-md-2">                
                 <img src="./poster/<?php  echo $row["pic"];?>" class="img-rounded" width="150" height="130">         
                 <p><a href="index.php?c=index&m=show&vid=<?php echo $row['vid']; ?>"><?php echo $row["videoname"];?></a></p>
                </li>
                <?php  }} ?>
            </ul>
      </div>
    </div>

    </div>
</body>
</html>